home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue10.arc
/
TVFENT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-08-13
|
1KB
|
30 lines
/*=======================================================*/
/* TVFENT.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include <mem.h>
#include "tvapi.h"
#include "tvstream.h"
/*=============================================*/
/* TVfld_entry change field table entry */
/* Ralf Brown 4/17/88 */
/*=============================================*/
void pascal TVfld_entry(OBJECT win,int field,FT_ENTRY *entry)
{
static BYTE stream[] = { S_WINDOW(9), 0xF5, 0, 0,0,0,0,0,0,0,0 } ;
stream[5] = field ;
memcpy((char *)(stream+6),(char *)entry, sizeof(FT_ENTRY)) ;
TVwin_stream(win,stream) ;
}
/* End of TVFENT.C */